<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>大二前端框架开发代码示例站点</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

        :root {
            --primary-color: #3b82f6;
            --secondary-color: #10b981;
            --accent-color: #8b5cf6;
            --background-color: #f9fafb;
            --card-bg: #ffffff;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --border-radius: 12px;
            --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--background-color);
            margin: 0;
            padding: 0;
            color: var(--text-primary);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        header {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        header::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
        }

        h1 {
            color: var(--text-primary);
            font-size: 2.8rem;
            margin-bottom: 15px;
            font-weight: 700;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subtitle {
            color: var(--text-secondary);
            font-size: 1.3rem;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .repo-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background-color: #c71d23; /* Gitee red color */
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 500;
            font-size: 1rem;
            transition: var(--transition);
            margin-bottom: 30px;
            box-shadow: 0 4px 6px rgba(199, 29, 35, 0.2);
        }

        .repo-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(199, 29, 35, 0.3);
            background-color: #d81f26;
        }

        .repo-link svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .frameworks {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 70px;
            flex-wrap: wrap;
        }

        .framework-card {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            padding: 30px;
            text-align: center;
            transition: var(--transition);
            width: 280px;
            border-top: 4px solid transparent;
        }

        .framework-card:nth-child(1) {
            border-top-color: #42b883; /* Vue color */
        }

        .framework-card:nth-child(2) {
            border-top-color: #38bdf8; /* Tailwind color */
        }

        .framework-card:nth-child(3) {
            border-top-color: #646cff; /* Vite color */
        }

        .framework-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-md);
        }

        .framework-card img {
            max-width: 180px;
            height: auto;
            margin-bottom: 25px;
            transition: var(--transition);
        }

        .framework-card:hover img {
            transform: scale(1.05);
        }

        .framework-card h3 {
            color: var(--text-primary);
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .framework-card p {
            color: var(--text-secondary);
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .site-structure {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            padding: 40px;
            margin-bottom: 60px;
        }

        .site-structure h2 {
            color: var(--text-primary);
            font-size: 2rem;
            margin-bottom: 25px;
            text-align: center;
            font-weight: 600;
        }

        .site-structure p {
            text-align: center;
            margin-bottom: 30px;
            color: var(--text-secondary);
            font-size: 1.1rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 30px;
            border-radius: var(--border-radius);
            overflow: hidden;
        }

        th, td {
            padding: 15px 20px;
            text-align: left;
        }

        th {
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            color: white;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 1px;
        }

        tr:nth-child(even) {
            background-color: rgba(0, 0, 0, 0.02);
        }

        tr {
            border-bottom: 1px solid #e2e8f0;
            transition: var(--transition);
        }

        tr:hover {
            background-color: rgba(59, 130, 246, 0.05);
        }

        td a {
            color: var(--primary-color);
            text-decoration: none;
            transition: var(--transition);
        }

        td a:hover {
            color: var(--accent-color);
            text-decoration: underline;
        }

        .status {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .status-completed {
            background-color: rgba(16, 185, 129, 0.1);
            color: #10b981;
        }

        .status-in-progress {
            background-color: rgba(245, 158, 11, 0.1);
            color: #f59e0b;
        }

        .footer {
            text-align: center;
            margin-top: 70px;
            color: var(--text-secondary);
            font-size: 0.9rem;
            padding: 20px 0;
            border-top: 1px solid #e2e8f0;
        }

        @media (max-width: 768px) {
            .frameworks {
                flex-direction: column;
                align-items: center;
            }

            .framework-card {
                width: 100%;
                max-width: 350px;
            }

            h1 {
                font-size: 2.2rem;
            }

            .subtitle {
                font-size: 1.1rem;
            }

            .site-structure {
                padding: 25px;
            }

            table {
                display: block;
                overflow-x: auto;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <header>
            <h1>大二前端框架开发代码示例站点</h1>
            <p class="subtitle">使用Vue3 + Vite + TailwindCSS打造</p>
            <a href="https://gitee.com/Guducat233/vue-homework-code" target="_blank" class="repo-link">
                <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                    <title>Gitee</title>
                    <path d="M11.984 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.016 0zm6.09 5.333c.328 0 .593.266.592.593v1.482a.594.594 0 0 1-.593.592H9.777c-.982 0-1.778.796-1.778 1.778v5.63c0 .327.266.592.593.592h5.63c.982 0 1.778-.796 1.778-1.778v-.296a.593.593 0 0 0-.592-.593h-4.15a.592.592 0 0 1-.592-.592v-1.482a.593.593 0 0 1 .593-.592h6.815c.327 0 .593.265.593.592v3.408a4 4 0 0 1-4 4H5.926a.593.593 0 0 1-.593-.593V9.778a4.444 4.444 0 0 1 4.445-4.444h8.296Z"/>
                </svg>
                在Gitee上查看源码
            </a>
        </header>

        <div class="frameworks">
            <div class="framework-card">
                <img src="images/Vue.png" alt="Vue.js Logo">
                <h3>Vue.js</h3>
                <p>Vue.js是一个渐进式的JavaScript框架，用于构建用户界面。它易于上手，具有高效的性能和灵活的组件系统。</p>
            </div>
            <div class="framework-card">
                <img src="images/Tailwindcss.png" alt="Tailwind CSS Logo">
                <h3>Tailwind CSS</h3>
                <p>Tailwind CSS是一个实用主义的CSS框架，提供了一系列的工具类，可以直接在HTML中构建现代网站。</p>
            </div>
            <div class="framework-card">
                <img src="images/Vite.png" alt="Vite Logo">
                <h3>Vite</h3>
                <p>Vite是一个现代前端构建工具，提供了极速的开发服务器和优化的构建命令，大大提高了开发效率。</p>
            </div>
        </div>

        <section class="site-structure">
            <h2>站点结构</h2>
            <p>本站点包含以下模块，将随着项目进展不断扩展：</p>
            <table>
                <thead>
                    <tr>
                        <th>模块名称</th>
                        <th>路径</th>
                        <th>描述</th>
                        <th>状态</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>首页</td>
                        <td><a href="index.html">/index.html</a></td>
                        <td>站点主页面，提供各模块入口</td>
                        <td><span class="status status-completed">已完成</span></td>
                    </tr>
                    <tr>
                        <td>商品管理</td>
                        <td><a href="../商品管理-TailwindCSS/index.html">/商品管理-TailwindCSS/</a></td>
                        <td>基于Tailwind CSS的商品管理模块</td>
                        <td><span class="status status-completed">已完成</span></td>
                    </tr>
                    <tr>
                        <td>-</td>
                        <td><a href="#">-</a></td>
                        <td>-</td>
                        <td><span class="status status-in-progress">进行中</span></td>
                    </tr>
                </tbody>
            </table>
        </section>

        <footer class="footer">
            <p>&copy; 孤独豹猫 | 2025 版权所有</p>
        </footer>
    </div>
</body>
</html>